//
//  MineItemModel.h
//  BaseProject
//
//  Created by 王盼盼 on 2024/10/30.
//  Copyright © 2024 wangpanpan. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSUInteger, ItemLayout) {
    ItemLayoutTB,
    ItemLayoutStack,
};

typedef NS_ENUM(NSUInteger, ItemStyle) {
    ItemStyleOrder,
    ItemStyleTool,
    ItemStyleCollect,
    // 我的积分界面
    ItemStyleCredit,
};

typedef NS_ENUM(NSUInteger, ItemAction) {
    ItemActionDefalut,
    ItemActionNaviMessage,
    ItemActionNaviSetting,
    ItemActionNaviQrCode,
    ItemActionUserInfo,
    ItemActionConsumeOrder,
    ItemActionBill,
    ItemActionOrder,
    ItemActionIM,
    ItemActionCollect,
    ItemActionRedPaper,
    ItemActionYuYue,
    ItemActionZuJi,
    ItemActionToolHuangDaoJiRi,
    ItemActionToolXiWeiAnPaiBiao,
    ItemActionToolBeiHunJiHua,
    ItemActionToolHunLiDengJiChu,
    ItemActionToolShiYanZhiCiKu,
    ItemActionToolJieQinYouXi,
    ItemActionToolHunLiYuSuanBiao,
    ItemActionToolHunLiGuanJia,
    ItemActionToolHunQianQingGanZiXun,
    ItemActionTuiJianRen,
    ItemActionJiFen,
    ItemActionAvailbleCredit,
    ItemActionFreezeCredits
};

@interface MineItemModel : NSObject
@property(nonatomic, copy) NSString *keyId;
@property(nonatomic, assign) ItemLayout layout;
@property(nonatomic, assign) ItemStyle style;
@property(nonatomic, strong) NSNumber *action;
@property(nonatomic, copy) NSString *picUrl;
@property(nonatomic, copy) NSString *title;
@property(nonatomic, copy) NSString *subTitle;

@property(nonatomic, strong) UIFont *titleFont;
@property(nonatomic, strong) UIFont *subTitleFont;
@property(nonatomic, assign) CGSize picSize;
@property(nonatomic, assign) CGFloat itemMargin;
@property(nonatomic, strong) UIColor *titleColor;
@property(nonatomic, strong) UIColor *subtTitleColor;

@property(nonatomic, assign) BOOL hasTips;
@end

NS_ASSUME_NONNULL_END
